/*
 * @Author: xiaosihan 
 * @Date: 2023-12-14 16:04:21 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2024-10-31 00:52:29
 */


import { ReactNode } from "react";
import styles from "./institutionalRiskIndex.module.less";

interface Iprops {
    children?: ReactNode
}

// 机构风险指数
export default function InstitutionalRiskIndex(props: Iprops) {

    const list = [
        {
            key: "1",
            model_name: "辅具适配疑点识别模型",
            logical_class: "(租赁类辅具)失能人员因病逝、住院或入住定点机构，仍享受",
            risk_levels: "2",
        },
        {
            key: "2",
            model_name: "辅具适配疑点识别模型",
            logical_class: "适配项目与失能情况不匹配，适配辅具与推荐辅具差距较大（适配范围>评估范围 且 1有导尿（长护项目）又有尿不湿 2丧失行动能力的诊断又使用了助行器 3全选项目 4量表“行动力字段”-完全不能行动，不适用助行器（量表行动力字段）",
            risk_levels: "2",
        },
        {
            key: "3",
            model_name: "辅具适配疑点识别模型",
            logical_class: "适配时间与首次配送时间为同一天",
            risk_levels: "2",
        },
        {
            key: "4",
            model_name: "辅具适配疑点识别模型",
            logical_class: "配送员、适配师打卡地点和打卡时间区间不合理",
            risk_levels: "1",
        },

    ]

    return (
        <div className={styles.institutionalRiskIndex}>
            <div className={styles.head}>
                <span className={styles.name} >模型名称</span>
                <span className={styles.value1} >逻辑分类</span>
                <span className={styles.value2} >风险等级划分</span>
            </div>
            <div className={styles.autoScroll}            >
                {
                    (list || []).map((d: any, i: number) => {
                        return (
                            <div key={i} className={styles.listItem} >
                                <span className={styles.name} >{d.model_name}</span>
                                <span className={styles.value1} >{d.logical_class}</span>
                                <span className={styles.value2} >{d.risk_levels}</span>
                            </div>
                        );
                    })
                }
            </div>
        </div>
    );

}